package com.example.customer.remote;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
public class ClientRemoteHystrix implements ClientRemote {


    @RequestMapping("/test/hello")
    public String hello(@RequestParam String hello) {
        return "hello" + hello + ", this message send failed ";
    }
}
